<template>
	<view>
		<view class="head">
			<view class="head_s" @click="qh()" v-if="dat == 0">
				<image src="../../static/7.png" mode=""></image>
				<text>13666080099</text>
			</view>
			<input focus="isFocus" @blur="sq()" v-if="dat == 1" class="s_input" type="text" />
		</view>
		<view class="myNum">
			<text>我的车友圈号：sam-0099</text>
			<image src="../../static/8.png" mode=""></image>
		</view>
		<view class="main">
			<view class="main_box">
				<image src="../../static/logo.png" mode=""></image>
				<view>
					<view>
						<view>扫一扫</view>
						<view class="details">扫描二维码名片</view>
					</view>
					<image src="../../static/9.png" mode=""></image>
				</view>
			</view>
			<view class="main_box">
				<image src="../../static/logo.png" mode=""></image>
				<view>
					<view>
						<view>手机联系人</view>
						<view class="details">添加或邀请通讯录中的朋友</view>
					</view>
					<image src="../../static/9.png" mode=""></image>
				</view>
			</view>
			<view class="main_box">
				<image src="../../static/logo.png" mode=""></image>
				<view>
					<view>
						<view>发起群聊</view>
						<view class="details">添加车友圈的朋友发起群聊</view>
					</view>
					<image src="../../static/9.png" mode=""></image>
				</view>
			</view>
			<view class="main_box">
				<image src="../../static/logo.png" mode=""></image>
				<view>
					<view>
						<view>转发APP下载链接</view>
						<view class="details">邀请通讯录中的朋友下载万车会APP</view>
					</view>
					<image src="../../static/9.png" mode=""></image>
				</view>
			</view>
		</view>
		
	</view>
</template>

<script>
	export default {
		data() {
			return {
				dat:0,
				isFocus:false
			}
		},
		watch:{
			dat:function(){
				if(this.dat == 1){
					this.isFocus = true
				}
			}
		},
		methods: {
			sq:function(){
				this.dat = 0
			},
			qh:function(){
				this.dat = 1
			}
		}
	}
</script>

<style>
	.details{
		color: rgba(208, 211, 214, 1);
		font-size: 24rpx;
		font-family: PingFangSC-regular;
	}
	.main_box>view>image{
		width: 46rpx;
		height: 46rpx;
	}
	.main_box>view{
		width: calc(100% - 80rpx);
		height: 100%;
		padding-right: 18rpx;
		box-sizing: border-box;
		display: flex;
		justify-content: space-between;
		align-items: center;
		border-bottom: 2rpx solid #BBBBBB;
	}
	.main_box>image{
		width: 96rpx;
		height: 96rpx;
		margin: 0 30rpx;
	}
	.main_box{
		height: 140rpx;
		color: rgba(14, 16, 13, 1);
		font-size: 32rpx;
		font-family: PingFangSC-regular;
		display: flex;
		justify-content: space-between;
		align-items: center;
	}
	.main{
		background-color: #FFFFFF;
	}
	.myNum>image{
		width: 50rpx;
		height: 50rpx;
		margin-left: 30rpx;
	}
	.myNum{
		margin: 28rpx 0 88rpx 0;
		display: flex;
		justify-content: center;
		align-items: center;
		color: rgba(208, 211, 214, 1);
		font-size: 28rpx;
		font-family: PingFangSC-regular;
	}
	.s_input{
		width: 100%;
		height: 100%;
		padding: 0 20rpx;
		box-sizing: border-box;
	}
	.head_s>image{
		width: 48rpx;
		height: 48rpx;
		margin-right: 20rpx;
	}
	.head_s{
		width: 100%;
		height: 100%;
		color: rgba(208, 211, 214, 1);
		font-size: 28rpx;
		display: flex;
		justify-content: center;
		align-items: center;
		font-family: PingFangSC-regular;
	}
	.head{
		width: calc(100% - 60rpx);
		height: 60rpx;
		background-color: #FFFFFF;
		border-radius: 10rpx;
		margin: 0 auto;
		margin-top: 20rpx;
		overflow: hidden;
	}
</style>
